#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QtCharts>
QT_CHARTS_USE_NAMESPACE

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class SettingItemDelegate;
class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
    void init();
    void CreateSinCharts();
    QChartView* CreateLineCharts1();
    QChartView* CreateLineCharts2();
private:
    Ui::MainWindow *ui;
    SettingItemDelegate*    m_SettingDelegate;
    QChartView*     m_chartview1;
    QChartView*     m_chartview2;
    QChartView*     m_chartview3;
    QChartView*     m_chartview4;
    QChartView*     m_chartview5;
    QChartView*     m_chartview6;
    QChartView*     m_chartview7;
};
#endif // MAINWINDOW_H
